[INFO] fetching crate docdb 0.1.0...
[INFO] checking docdb-0.1.0 against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] extracting crate docdb 0.1.0 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate docdb 0.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate docdb 0.1.0
[INFO] tweaked toml for crates.io crate docdb 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate docdb 0.1.0 on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate docdb 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3219dfef1d9e9527387ef17bf786458a77ab5ca14692e4086b5a30d4c5efaf50
[INFO] running `Command { std: "docker" "start" "-a" "3219dfef1d9e9527387ef17bf786458a77ab5ca14692e4086b5a30d4c5efaf50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3219dfef1d9e9527387ef17bf786458a77ab5ca14692e4086b5a30d4c5efaf50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3219dfef1d9e9527387ef17bf786458a77ab5ca14692e4086b5a30d4c5efaf50", kill_on_drop: false }`
[INFO] [stdout] 3219dfef1d9e9527387ef17bf786458a77ab5ca14692e4086b5a30d4c5efaf50
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 185c82a908b29fdf6a5eca72b217030e80aad83f96ff27eb70ede3c0abe78680
[INFO] running `Command { std: "docker" "start" "-a" "185c82a908b29fdf6a5eca72b217030e80aad83f96ff27eb70ede3c0abe78680", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.71
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]     Checking docdb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/db.rs:235:17
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub fn iter(&self) -> DocDbIterator {
[INFO] [stdout]     |                 ^^^^^     ------------- the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub fn iter(&self) -> DocDbIterator<'_> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/db.rs:235:17
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub fn iter(&self) -> DocDbIterator {
[INFO] [stdout]     |                 ^^^^^     ------------- the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub fn iter(&self) -> DocDbIterator<'_> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `docdb::SerializationMethod`
[INFO] [stdout]  --> tests/common/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use docdb::SerializationMethod;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `docdb::SerializationMethod`
[INFO] [stdout]  --> tests/common/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use docdb::SerializationMethod;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `docdb::SerializationMethod`
[INFO] [stdout]  --> tests/common/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use docdb::SerializationMethod;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `load_bin` found for struct `DocDb` in the current scope
[INFO] [stdout]    --> tests/error_test.rs:22:30
[INFO] [stdout]     |
[INFO] [stdout] 22  |     let load_as_bin = DocDb::load_bin("json_db.db", DumpPolicy::NeverDump);
[INFO] [stdout]     |                              ^^^^^^^^ function or associated item not found in `DocDb`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `DocDb` consider using one of the following associated functions:
[INFO] [stdout]       DocDb::new
[INFO] [stdout]       DocDb::new_json
[INFO] [stdout]       DocDb::load
[INFO] [stdout]       DocDb::load_read_only
[INFO] [stdout]       DocDb::load_json
[INFO] [stdout]    --> /opt/rustwide/workdir/src/db.rs:34:5
[INFO] [stdout]     |
[INFO] [stdout] 34  | /     pub fn new<P: AsRef<Path>>(
[INFO] [stdout] 35  | |         db_path: P,
[INFO] [stdout] 36  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 37  | |         serialize_method: SerializationMethod,
[INFO] [stdout] 38  | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 52  |       pub fn new_json<P: AsRef<Path>>(db_path: P, dump_policy: DumpPolicy) -> Self {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66  | /     pub fn load<P: AsRef<Path>>(
[INFO] [stdout] 67  | |         db_path: P,
[INFO] [stdout] 68  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 69  | |         ser_method: SerializationMethod,
[INFO] [stdout] 70  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] ...
[INFO] [stdout] 95  | /     pub fn load_read_only<P: AsRef<Path>>(
[INFO] [stdout] 96  | |         db_path: P,
[INFO] [stdout] 97  | |         serialization_method: SerializationMethod,
[INFO] [stdout] 98  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] ...
[INFO] [stdout] 103 |       pub fn load_json<P: AsRef<Path>>(db_path: P, dump_policy: DumpPolicy) -> Result<Self> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `load` with a similar name
[INFO] [stdout]    --> /opt/rustwide/workdir/src/db.rs:66:5
[INFO] [stdout]     |
[INFO] [stdout] 66  | /     pub fn load<P: AsRef<Path>>(
[INFO] [stdout] 67  | |         db_path: P,
[INFO] [stdout] 68  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 69  | |         ser_method: SerializationMethod,
[INFO] [stdout] 70  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `load_yaml` found for struct `DocDb` in the current scope
[INFO] [stdout]    --> tests/error_test.rs:33:20
[INFO] [stdout]     |
[INFO] [stdout] 33  |     assert!(DocDb::load_yaml("json_db.db", DumpPolicy::NeverDump).is_ok());
[INFO] [stdout]     |                    ^^^^^^^^^ function or associated item not found in `DocDb`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `DocDb` consider using one of the following associated functions:
[INFO] [stdout]       DocDb::new
[INFO] [stdout]       DocDb::new_json
[INFO] [stdout]       DocDb::load
[INFO] [stdout]       DocDb::load_read_only
[INFO] [stdout]       DocDb::load_json
[INFO] [stdout]    --> /opt/rustwide/workdir/src/db.rs:34:5
[INFO] [stdout]     |
[INFO] [stdout] 34  | /     pub fn new<P: AsRef<Path>>(
[INFO] [stdout] 35  | |         db_path: P,
[INFO] [stdout] 36  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 37  | |         serialize_method: SerializationMethod,
[INFO] [stdout] 38  | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 52  |       pub fn new_json<P: AsRef<Path>>(db_path: P, dump_policy: DumpPolicy) -> Self {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66  | /     pub fn load<P: AsRef<Path>>(
[INFO] [stdout] 67  | |         db_path: P,
[INFO] [stdout] 68  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 69  | |         ser_method: SerializationMethod,
[INFO] [stdout] 70  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] ...
[INFO] [stdout] 95  | /     pub fn load_read_only<P: AsRef<Path>>(
[INFO] [stdout] 96  | |         db_path: P,
[INFO] [stdout] 97  | |         serialization_method: SerializationMethod,
[INFO] [stdout] 98  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] ...
[INFO] [stdout] 103 |       pub fn load_json<P: AsRef<Path>>(db_path: P, dump_policy: DumpPolicy) -> Result<Self> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `load_bin` found for struct `DocDb` in the current scope
[INFO] [stdout]    --> tests/error_test.rs:38:27
[INFO] [stdout]     |
[INFO] [stdout] 38  |     let load_ret = DocDb::load_bin("not_exists.db", DumpPolicy::NeverDump);
[INFO] [stdout]     |                           ^^^^^^^^ function or associated item not found in `DocDb`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `DocDb` consider using one of the following associated functions:
[INFO] [stdout]       DocDb::new
[INFO] [stdout]       DocDb::new_json
[INFO] [stdout]       DocDb::load
[INFO] [stdout]       DocDb::load_read_only
[INFO] [stdout]       DocDb::load_json
[INFO] [stdout]    --> /opt/rustwide/workdir/src/db.rs:34:5
[INFO] [stdout]     |
[INFO] [stdout] 34  | /     pub fn new<P: AsRef<Path>>(
[INFO] [stdout] 35  | |         db_path: P,
[INFO] [stdout] 36  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 37  | |         serialize_method: SerializationMethod,
[INFO] [stdout] 38  | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 52  |       pub fn new_json<P: AsRef<Path>>(db_path: P, dump_policy: DumpPolicy) -> Self {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66  | /     pub fn load<P: AsRef<Path>>(
[INFO] [stdout] 67  | |         db_path: P,
[INFO] [stdout] 68  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 69  | |         ser_method: SerializationMethod,
[INFO] [stdout] 70  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] ...
[INFO] [stdout] 95  | /     pub fn load_read_only<P: AsRef<Path>>(
[INFO] [stdout] 96  | |         db_path: P,
[INFO] [stdout] 97  | |         serialization_method: SerializationMethod,
[INFO] [stdout] 98  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] ...
[INFO] [stdout] 103 |       pub fn load_json<P: AsRef<Path>>(db_path: P, dump_policy: DumpPolicy) -> Result<Self> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `load` with a similar name
[INFO] [stdout]    --> /opt/rustwide/workdir/src/db.rs:66:5
[INFO] [stdout]     |
[INFO] [stdout] 66  | /     pub fn load<P: AsRef<Path>>(
[INFO] [stdout] 67  | |         db_path: P,
[INFO] [stdout] 68  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 69  | |         ser_method: SerializationMethod,
[INFO] [stdout] 70  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TestResources` is never constructed
[INFO] [stdout]  --> tests/common/mod.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct TestResources {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> tests/common/mod.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl TestResources {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(file: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `docdb` (test "error_test") due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: struct `TestResources` is never constructed
[INFO] [stdout]  --> tests/common/mod.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct TestResources {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> tests/common/mod.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl TestResources {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(file: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "185c82a908b29fdf6a5eca72b217030e80aad83f96ff27eb70ede3c0abe78680", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "185c82a908b29fdf6a5eca72b217030e80aad83f96ff27eb70ede3c0abe78680", kill_on_drop: false }`
[INFO] [stdout] 185c82a908b29fdf6a5eca72b217030e80aad83f96ff27eb70ede3c0abe78680
